<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>首页</title>
    <link rel="stylesheet" href="/css/mui.min.css">
    <link rel="stylesheet" href="/font/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="/css/assets/base.css">
    <link rel="stylesheet" href="/css/assets/index.css">
</head>

<body>
    <!--头部-->
    <header id="header" class="mui-bar mui-bar-nav my_header">
        <h1 class="mui-title">乐陶网站</h1>
        <a href="/search" class="mui-icon mui-icon-search mui-pull-right"></a>
    </header>
    <div class='my_top_hide'></div>
    <!--轮播图-->
    <div class="my_slider">
        <div class="mui-slider">
            <div class="mui-slider-group mui-slider-loop">
                <!--支持循环，需要重复图片节点-->
                <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img
                            src="../images/banner4.png" /></a></div>
                <div class="mui-slider-item"><a href="#"><img src="../images/banner1.png" /></a></div>
                <div class="mui-slider-item"><a href="#"><img src="../images/banner2.png" /></a></div>
                <div class="mui-slider-item"><a href="#"><img src="../images/banner3.png" /></a></div>
                <div class="mui-slider-item"><a href="#"><img src="../images/banner4.png" /></a></div>
                <!--支持循环，需要重复图片节点-->
                <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img
                            src="../images/banner1.png" /></a></div>

            </div>
            <div class="mui-slider-indicator">
                <div class="mui-indicator mui-active"></div>
                <div class="mui-indicator"></div>
                <div class="mui-indicator"></div>
                <div class="mui-indicator"></div>
            </div>
        </div>
    </div>
    <div class="cz_cate mui-clearfix">
        <ul>
            <li><a href="#"><img src="../images/nav1.png" alt=""></a></li>
            <li><a href="#"><img src="../images/nav2.png" alt=""></a></li>
            <li><a href="#"><img src="../images/nav3.png" alt=""></a></li>
            <li><a href="#"><img src="../images/nav4.png" alt=""></a></li>
            <li><a href="#"><img src="../images/nav5.png" alt=""></a></li>
            <li><a href="#"><img src="../images/nav6.png" alt=""></a></li>
        </ul>

    </div>
    <div class="cz_brand">
        <img src="../images/title0.png" style="width: 100%;" alt="">
        <ul>
            <li><a href="#"><img src="../images/brand1.png" alt=""></a></li>
            <li><a href="#"><img src="../images/brand2.png" alt=""></a></li>
            <li><a href="#"><img src="../images/brand3.png" alt=""></a></li>
            <li><a href="#"><img src="../images/brand4.png" alt=""></a></li>
            <li><a href="#"><img src="../images/brand5.png" alt=""></a></li>
            <li><a href="#"><img src="../images/brand6.png" alt=""></a></li>
            <li><a href="#"><img src="../images/brand7.png" alt=""></a></li>
            <li><a href="#"><img src="../images/brand8.png" alt=""></a></li>
        </ul>
    </div>

    <div class="mui-content" style="background-color:#fff">
        <ul class="mui-table-view mui-grid-view">
            <li class="mui-table-view-cell mui-media mui-col-xs-6">
                <a href="#">
                    <img class="mui-media-object" src="../images/product.jpg">
                    <div class="mui-media-body">幸福就是可以一起睡觉</div>
                    <div class="mui-media-body">价格:￥200.00</div>
                </a>
            </li>
            <li class="mui-table-view-cell mui-media mui-col-xs-6">
                <a href="#">
                    <img class="mui-media-object" src="../images/product.jpg">
                    <div class="mui-media-body">想要一间这样的木屋，静静的喝咖啡</div>
                    <div class="mui-media-body">价格:￥200.00</div>
                </a>
            </li>
            <li class="mui-table-view-cell mui-media mui-col-xs-6">
                <a href="#"><img class="mui-media-object" src="../images/product.jpg">
                    <div class="mui-media-body">Color of SIP CBD</div>
                    <div class="mui-media-body">价格:￥200.00</div>
                </a>
            </li>
            <li class="mui-table-view-cell mui-media mui-col-xs-6">
                <a href="#">
                    <img class="mui-media-object" src="../images/product.jpg">
                    <div class="mui-media-body">静静看这世界</div>
                    <div class="mui-media-body">价格:￥200.00</div>
                </a>
            </li>
        </ul>
    </div>



    <div class='my_bottom_hide'></div>
    <!--底部-->
    <nav class="mui-bar mui-bar-tab my_bottom">
        <a class="mui-tab-item mui-active" href="javascript:void(0);">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="/category">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="/shoppingCar">
            <span class="mui-icon fa fa-shopping-cart"></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="/setting">
            <span class="mui-icon mui-icon-contact"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>
</body>
<script src="/js/zepto.min.js"></script>
<script src="/js/mui.min.js"></script>
<script>
    mui('body').on('tap', 'a', function () {
        window.top.location.href = this.href;
    });
    //获得slider插件对象
    var gallery = mui('.mui-slider');
    gallery.slider({
        interval: 1000//自动轮播周期，若为0则不自动播放，默认为0；
    });

    mui.init();

</script>

</html>